{extend name="layout/datagrid" /}
{block name="content_header"}
<h1>
    <a href="{:url('finance.withdraw/withdrawlist')}">结算管理</a>
    <small>withdraw tables</small>
</h1>
<ol class="breadcrumb">
    <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
    <li><a href="/recharge/">财务</a></li>
    <li class="active">提现管理</li>
</ol>
{/block}
{block name="content"}
<div class="box">
    <div class="box-header">
        <button class="btn btn-sm btn-info" onclick="location.href='{:url('withdraw')}'">申请提现</button>
    </div><br />
    <!-- /.box-header -->
    <div class="box-body">
        <table class="xsui-datagrid table table-condensed table-bordered table-striped table-hover">
            <thead>
                <tr>
                    <th>#</th>
                    <th>用户ID</th>
                    <th>结算金额</th>
                    <th>结算时间</th>
                    <th>结算状态</th>
                    <th>银行卡号</th>
                    <th>银行名称</th>
                    <th>持卡人姓名</th>
                    <th>交易单号</th>
                    <th>结算说明</th>
                </tr>
            </thead>
            <tbody>
                {foreach name="list" item="vo"}
                <tr data-key="{$vo.id}">
                    <td class="xsui-rowid"></td>
                    <td>{$vo.user_id}</td>
                    <td>{$vo.amount}</td>
                    <td>{$vo.create_time}</td>
                    <td>{$vo.statusText}</td>
                    <td>{$vo.bankcardno}</td>
                    <td>{$vo.bankname}</td>
                    <td>{$vo.bankcardholder}</td>
                    <td>{$vo.out_trade_no}</td>
                    <td>{$vo.remark}</td>
                </tr>
                {/foreach}
            </tbody>
        </table>
        <!--分页条-->
        {$list->render()}
    </div>
    <!-- /.box-body -->
</div>
{/block}